runtime/pprof.profileBuilder.stringIndex (method)
11 uses
runtime/pprof (current package)
proto.go#L132: func (b *profileBuilder) stringIndex(s string) int64 {
proto.go#L153: b.pb.int64(tagValueType_Type, b.stringIndex(typ))
proto.go#L154: b.pb.int64(tagValueType_Unit, b.stringIndex(unit))
proto.go#L173: b.pb.int64Opt(tagLabel_Key, b.stringIndex(key))
proto.go#L174: b.pb.int64Opt(tagLabel_Str, b.stringIndex(str))
proto.go#L194: b.pb.int64Opt(tagMapping_Filename, b.stringIndex(file))
proto.go#L195: b.pb.int64Opt(tagMapping_BuildID, b.stringIndex(buildID))
proto.go#L569: b.pb.int64Opt(tagFunction_Name, b.stringIndex(fn.name))
proto.go#L570: b.pb.int64Opt(tagFunction_SystemName, b.stringIndex(fn.name))
proto.go#L571: b.pb.int64Opt(tagFunction_Filename, b.stringIndex(fn.file))
protomem.go#L24: b.pb.int64Opt(tagProfile_DefaultSampleType, b.stringIndex(defaultSampleType))